package com.demo.xj_plane.controller;

import com.demo.xj_plane.common.utils.GlobalConstant;
import com.demo.xj_plane.common.utils.ResponseJson;
import com.demo.xj_plane.service.XjMixProductService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/xjPicPro")
@Api(value = "图片产品相关数据", tags = {"获取图片产品相关接口"})
@Slf4j
public class PicProductController {

    @Autowired
    private XjMixProductService xjMixProductService;

    /**
     * 获取最新报文
     *
     * @param cccc
     * @return
     */
    @GetMapping(value = "/getLatestData")
    @ApiOperation(value = "1、获取最新报文", notes = "务必提交json格式")
    public ResponseJson getLatestContent(@RequestParam("cccc") String cccc) {
        return ResponseJson.success();
    }



}
